<div id="login_box">
  <div id="box_title">SHRIMP Login</div>
  <div id="login_form">

    <% if flash[:error] %>
      <div>
        <p style="color: red"><%= flash[:error] %></p>
      </div>
    <% end %>

    <% form_tag :action => "authenticate" do %>      
      <div class="auth_field">
        <div class="label">Username: </div>
        <%= text_field_tag "username" %>
      </div>
      <div class="auth_field">
        <div class="label">Password: </div>
        <%= password_field_tag "password" %>
      </div>
      <div class="auth_field">
        <%= submit_tag "Login" %>
      </div>
    <% end %>
  </div>
</div>